package com.tbit.uqbike.object.pojo;

import com.tbit.uqbike.annos.Excel;
import com.tbit.uqbike.webmanager.util.csv.annotations.Csv;
import lombok.Data;

import java.util.Date;

/**
 * 分账退款详情表
 *
 * @author <a href="mailto:chen.wutian@tbit.com.cn">BUGTian</a>
 * @since 2024/11/25
 */
@Data
public class RefundAdapayRecord {
    /**
     * 主键
     */
    private Long id;
    /**
     * 品牌id
     */
    private Integer brandId;
    /**
     * 区域id
     */
    private Integer areaId;
    /**
     * 账户编号
     */
    private String userNO;
    /**
     * 汇付平台支付订单号
     */
    @Excel(name = "汇付订单号", sort = 4)
    @Csv(name = "汇付订单号")
    private String adapayNO;
    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 业务平台支付订单号
     */
    @Excel(name = "业务订单编号", sort = 3)
    @Csv(name = "业务订单编号")
    private String rechargeNO;
    /**
     * 退款单号
     */
    private String refundNO;
    /**
     * 退款总金额
     */
    private Double totalRefundMoney;
    /**
     * 本次退款金额
     */
    private Double refundMoney;
    /**
     * 分账比例
     */
    @Excel(name = "退款比例(按分账时比例)", sort = 9)
    @Csv(name = "退款比例(按分账时比例)")
    private Double proportion;
    /**
     * 退款手续费（三方支付系统收取）单位：分
     */
    private Integer refundFee;
    /**
     * 退款服务费（我们平台收取）单位：分
     */
    private Integer refundServiceFee;
    /**
     * 退款时间
     */
    @Excel(name = "退款时间", dateFormat = "yyyy-MM-dd HH:mm:ss", sort = 1)
    @Csv(name = "退款时间")
    private Date refundTime;
    /**
     * 操作人
     */
    private String name;
}
